<div class="row">
	<div class="span3 bs-docs-sidebar">
		<ul class="nav nav-list bs-docs-sidenav">
			<?php foreach($categories as $c):?>
				<li <?=($category == $c['id'])?'class="active"':''?>>
					<a href="/?category=<?=$c['id']?>">
						<i class="icon-chevron-right"></i>
						<?=$c['title'];?>
					</a>
				</li>
			<?php endforeach;?>
		</ul>
	</div>
	<div class="span9 m-keys-box">
		<div class="container-keys">
			<?php foreach($rows as $r): ?>
				<div class="m-key-box unactive">
					<div class="m-key-body">
						<div class="m-key-title"><?=$r['param_1']?></div>
						<div class="m-key-address"><?=$r['param_2']?$r['param_2']."://":""?><?=$r['param_3']?><?=$r['param_4']?':'.$r['param_4']:""?></div>
						<div class="m-key-login-body">
							<div class="m-key-login"><?=$r['param_5'];?></div>
						</div>
					</div>
					<div class="cross">×</div>
					<div class="key-lock"></div>
				</div>
			<?php endforeach;?>
		</div>
</div>